<?php defined('IN_IA') or exit('Access Denied');?><input type="hidden" value="<?php  echo $reply['id'];?>" class="form-control" name="reply_id">
<div class="panel panel-default">
	<div class="panel-heading">微现场设置</div>	
	<div class="panel-body">
	<ul class="nav nav-tabs" id="myTab">
		<li class="active" ><a href="#tab_basic">基本设置</a></li>
	</ul>
	<div class="tab-content">
	<div class="tab-pane  active" id="tab_basic">
		<div class="panel panel-default">
			<div class="panel-heading"></div>					
			<div class="panel-body">
				<div class="form-group">
					<label class="col-xs-12 col-sm-3 col-md-2 control-label">本次活动主题</label>
					<div class="col-sm-9">
						<input type="text" value="<?php  echo $reply['title'];?>" class="form-control" name="title">
						<span class="help-block">本次活动主题</span>
					</div>
				</div>
				<div class="form-group">
					<label class="col-xs-12 col-sm-3 col-md-2 control-label">功能管理</label>
					<div class="col-sm-9">
						<label class="checkbox radio-inline">
									<input type="checkbox" name="controls[]" <?php  if(in_array("qd", $reply['controls'])) { ?>checked<?php  } ?> value="qd"> 签到
						</label>
						<label class="checkbox radio-inline">
									<input type="checkbox" name="controls[]" <?php  if(in_array("lizi", $reply['controls'])) { ?>checked<?php  } ?> value="lizi">粒子签到
						</label>
						<label class="checkbox radio-inline">
									<input type="checkbox" name="controls[]" <?php  if(in_array("wall", $reply['controls'])) { ?>checked<?php  } ?> value="wall">微上墙
						</label>
						<label class="checkbox radio-inline">
									<input type="checkbox" name="controls[]" <?php  if(in_array("lottory",$reply['controls'])) { ?>checked<?php  } ?> value="lottory"> 抽奖
						</label>
						<label class="checkbox radio-inline">
									<input type="checkbox" name="controls[]" <?php  if(in_array("jb", $reply['controls'])) { ?>checked<?php  } ?> value="jb"> 嘉宾展示
						</label>
						<label class="checkbox radio-inline">
									<input type="checkbox" name="controls[]" <?php  if(in_array("vote", $reply['controls'])) { ?>checked<?php  } ?> value="vote"> 现场投票
						</label>
						<label class="checkbox radio-inline">
									<input type="checkbox" name="controls[]" <?php  if(in_array("shake", $reply['controls'])) { ?>checked<?php  } ?> value="shake"> 摇一摇
						</label>
						<label class="checkbox radio-inline">
									<input type="checkbox" name="controls[]" <?php  if(in_array("cjx", $reply['controls'])) { ?>checked<?php  } ?> value="cjx"> 抽奖箱   
						</label>
						<label class="checkbox radio-inline">
									<input type="checkbox" name="controls[]" <?php  if(in_array("redpack", $reply['controls'])) { ?>checked<?php  } ?> value="redpack">抢红包
						</label>
						<label class="checkbox radio-inline">
									<input type="checkbox" name="controls[]" <?php  if(in_array("ddp", $reply['controls'])) { ?>checked<?php  } ?> value="ddp">对对碰
						</label>
						<label class="checkbox radio-inline">
									<input type="checkbox" name="controls[]" <?php  if(in_array("xc", $reply['controls'])) { ?>checked<?php  } ?> value="xc">相册
						</label>
						<label class="checkbox radio-inline">
									<input type="checkbox" name="controls[]" <?php  if(in_array("xyh", $reply['controls'])) { ?>checked<?php  } ?> value="xyh">幸运号码
						</label>
						<label class="checkbox radio-inline">
									<input type="checkbox" name="controls[]" <?php  if(in_array("zjd", $reply['controls'])) { ?>checked<?php  } ?> value="zjd">砸金蛋
						</label>
						<label class="checkbox radio-inline">
									<input type="checkbox" name="controls[]" <?php  if(in_array("dm", $reply['controls'])) { ?>checked<?php  } ?> value="dm">上墙弹幕
						</label>
						<label class="checkbox radio-inline">
									<input type="checkbox" name="controls[]" <?php  if(in_array("xysjh", $reply['controls'])) { ?>checked<?php  } ?> value="xysjh">幸运手机号
						</label>
						<span class="help-block">本次活动功能选择</strong></span>
					</div>
				</div>
				<div class="form-group">
					<label class="col-xs-12 col-sm-3 col-md-2 control-label">本次活动起止时间</label>
					<div class="col-sm-9">
								<?php echo tpl_form_field_daterange('ac_times',array('start'=>date('Y-m-d H:i:s',empty($reply['start_ttime'])?time():$reply['start_ttime']),'end'=>date('Y-m-d H:i:s',empty($reply['end_time'])?time()+3600*240:$reply['end_time'])),true);?>
						<span class="help-block">本次活动起止时间</strong></span>
					</div>
				</div>
				<div class="form-group">
					<label class="col-xs-12 col-sm-3 col-md-2 control-label">本次活动场控密码</label>
					<div class="col-sm-9">
						<input type="text" value="<?php  echo $reply['pass_word'];?>" class="form-control" name="pass_word" >
						<span class="help-block">本次活动场控密码</span>
					</div>
				</div>
				<div class="form-group">
					<label class="col-xs-12 col-sm-3 col-md-2  control-label">认证服务号是否必须关注</label>
					<div class="col-sm-9 ">
						<label class="radio-inline">
							<input type="radio" name="gz_must" value="1" id="isshow_1" <?php  if($reply['gz_must'] == '1') { ?>checked="true"<?php  } ?>> 是
						</label>
						<label class="radio-inline">
							<input type="radio" name="gz_must" value="0" id="isshow_0"  <?php  if($reply['gz_must'] == '0') { ?>checked="true"<?php  } ?>>否
						</label>
					</div>
				</div>
				<div class="form-group">
					<label class="col-xs-12 col-sm-3 col-md-2 control-label">认证服务号引导关注素材</label>
					<div class="col-sm-9">
						<input type="text" value="<?php  echo $reply['gz_url'];?>" class="form-control" name="gz_url" >
						<span class="help-block">认证服务号引导关注素材链接</span>
					</div>
				</div>
				<div class="form-group">
					<label class="col-xs-12 col-sm-3 col-md-2  control-label">用户是否需要审核</label>
					<div class="col-sm-9 ">
						<label class="radio-inline">
							<input type="radio" name="status" value="1" id="isshow_1" <?php  if($reply['status'] == '1') { ?>checked="true"<?php  } ?>> 无需审核
						</label>
						<label class="radio-inline">
							<input type="radio" name="status" value="2" id="isshow_0"  <?php  if($reply['status'] == '2') { ?>checked="true"<?php  } ?>>必须审核
						</label>
					</div>
				</div>
			</div>
		</div>
	</div>
	</div>
	</div>
	</div>